package com.example.teachingSystem.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.teachingSystem.pojo.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.teachingSystem.pojo.entity.SysUser;
import com.example.teachingSystem.pojo.form.role.RolePageQuery;
import com.example.teachingSystem.pojo.form.user.UserPageQuery;
import com.example.teachingSystem.pojo.vo.OptionVo;
import com.example.teachingSystem.pojo.vo.RoleInfoVo;
import com.example.teachingSystem.pojo.vo.UserInfoVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 86147
* @description 针对表【sys_role(角色表)】的数据库操作Mapper
* @createDate 2023-11-27 21:43:54
* @Entity com.example.teachingSystem.pojo.entity.SysRole
*/
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {
    Page<RoleInfoVo> getRolePage(Page<SysRole> page, RolePageQuery queryParams);

    List<OptionVo> getRoleOptions();
}




